﻿using System;
using System.ComponentModel.DataAnnotations;

namespace DynamicModelDemo.Wpf.Models
{
    public class Person
    {
        [Display(Name = "Employee Id")]
        [Required]
        public int Id { get; set; }

        [Display(Name = "First Name")]
        [Required]
        public string FName { get; set; }

        [Display(Name = "SurName")]
        [Required]
        public string LName { get; set; }

        public DateTime Dob { get; set; }

        [Display(Name = "Salary PM")]
        [Required]
        public decimal Salary { get; set; }

        public bool Active { get; set; }
    }
}
